##= require ./Contentview
#$ = jQuery
exports = this

class Contentview extends Backbone.View
  el:$('#listBox')
  events:
    'click .showPage':'showContent'
  constructor: ->
    console.dir @
  howConten:->
    alert 'show'
    false
class Appbook extends Backbone.Router
  routes:
    'book/:id':'showbook'
  showbook:->
    alert 'ok'


$ ->
  if Modernizr.csstransforms3d
    new Appbook()
    Backbone.history.start(
      pushState: true
    )
#  new Contentview() if Modernizr.csstransforms3d
#  $('.showPage').customShowPage() if Modernizr.csstransforms3d